import http from "../../service/http";
// 获取邮箱验证码
// http://127.0.0.1:3000/api/common/user/getCode/{email}
export const getVerifyCodeApi = (email) => {
  return http.post('common/user/getVerifyCode', { email });
}

// 注册
export const registerApi = (data) => {
  return http.post('common/user/register', data);
}